package com.gztms.blogmgnt.pojo.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gztms.usermgnt.pojo.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Zoey
 * @date 2023/5/2 0:13
 * @Description TODO
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlogDetailVO {
    private Integer bid;
    private String title;
    private String content;
    private String cover;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;
    private Integer likeSum;
    private Integer favSum;
    private Integer viewCount;
    private Integer status;
    private Integer type;
    private String createdBy;
    private String checkedBy;
    private String typeName;

    private String username;
    private String avatar;
}
